package com.company.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.company.common.annotation.Excel;
import com.company.common.core.domain.BaseEntity;

/**
 * 员工调动对象 table_usertransfer
 * 
 * @author ruoyi
 * @date 2022-07-07
 */
public class TableUsertransfer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工编号 */
    private Long personnelid;

    /** 调后部门 */
    @Excel(name = "调后部门")
    private String afterremovedepartment;

    /** 调后职位 */
    @Excel(name = "调后职位")
    private String afterremovejob;

    /** 调后日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "调后日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date removedate;

    /** 调动原因 */
    @Excel(name = "调动原因")
    private String removereason;

    public void setPersonnelid(Long personnelid) 
    {
        this.personnelid = personnelid;
    }

    public Long getPersonnelid() 
    {
        return personnelid;
    }
    public void setAfterremovedepartment(String afterremovedepartment) 
    {
        this.afterremovedepartment = afterremovedepartment;
    }

    public String getAfterremovedepartment() 
    {
        return afterremovedepartment;
    }
    public void setAfterremovejob(String afterremovejob) 
    {
        this.afterremovejob = afterremovejob;
    }

    public String getAfterremovejob() 
    {
        return afterremovejob;
    }
    public void setRemovedate(Date removedate) 
    {
        this.removedate = removedate;
    }

    public Date getRemovedate() 
    {
        return removedate;
    }
    public void setRemovereason(String removereason) 
    {
        this.removereason = removereason;
    }

    public String getRemovereason() 
    {
        return removereason;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("personnelid", getPersonnelid())
            .append("afterremovedepartment", getAfterremovedepartment())
            .append("afterremovejob", getAfterremovejob())
            .append("removedate", getRemovedate())
            .append("removereason", getRemovereason())
            .append("remark", getRemark())
            .toString();
    }
}
